ifEmpty

inline fun <T> KOptional<T>.ifEmpty(action: () -> Unit): KOptional<T>(source)

Executes the provided action if the value is absent.